﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace KC.Exceptions
{
	/// <summary>Generic Exception to be used when no other Exception is appropriate</summary>
	/// <remarks>This Exception exists soley for the purpose of avoiding errors from Microsoft Code Analysis
	/// 			in cases where there is no proper Exception type.</remarks>
	[Serializable]
	public class GenericException : Exception
	{
		public GenericException() : base() { }
		protected GenericException(SerializationInfo si, StreamingContext sc) : base(si, sc) { }
		public GenericException(string message) : base(message) { }
		public GenericException(string message, Exception innerexception) : base(message, innerexception) { }
	}
}
